package com.turnengine.client.local.upkeep.command.gwt;

import com.google.common.annotations.GwtCompatible;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.javabi.codebuilder.generated.gwt.IGeneratedRemoteService;
import com.javabi.command.errorcode.gwt.GwtErrorCodeException;
import com.turnengine.client.local.upkeep.bean.IUpkeepCondition;
import com.turnengine.client.local.upkeep.enums.UpkeepConditionType;

/**
 * The Add Upkeep Condition Service.
 */
@GwtCompatible
@RemoteServiceRelativePath("AddUpkeepConditionService")
public interface AddUpkeepConditionService extends RemoteService, IGeneratedRemoteService {

	IUpkeepCondition addUpkeepCondition(long loginId, int instanceId, int upkeepId, UpkeepConditionType type, int conditionId, long conditionAmount) throws GwtErrorCodeException;
}
